package com.internetCafes.spms.web.sys.model;

import java.io.Serializable;
import java.util.List;


/**
 * 部门管理
 * 
 * @author Sunny
 * @email rekeeper2011@hotmail.com
 * @date 2017-06-20 15:23:47
 */
public class DeptInfo implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//部门ID
	private Long id;

	/**
	 * 是否展示在页面
	 */
	private int type;

	//部门名称
	private String name;

	//上级部门ID，一级部门为0
	private Long parentId;

	//上级部门名称
	private String parentName;

	//排序
	private Integer sort;
	/**
	 * ztree属性
	 */
	private Boolean open = true;

	private List<?> list;



	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * 设置：上级部门ID，一级部门为0
	 */
	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}
	/**
	 * 获取：上级部门ID，一级部门为0
	 */
	public Long getParentId() {
		return parentId;
	}
	/**
	 * 设置：部门名称
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * 获取：部门名称
	 */
	public String getName() {
		return name;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}

	public Boolean getOpen() {
		return open;
	}

	public void setOpen(Boolean open) {
		this.open = open;
	}

	public List<?> getList() {
		return list;
	}

	public void setList(List<?> list) {
		this.list = list;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}
}
